home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Programming / ace_gpl_release / include / funcs / ptreplay_funcs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-28  |  2.1 KB  |  44 lines

  1. /*** FUNCTION DECLARATIONS FOR ptreplay.LIBRARY ***/
  2.  
  3. #ifndef FUNCS_ptreplay_FUNCS_H
  4. #define FUNCS_ptreplay_FUNCS_H
  5.  
  6. #ifndef ptreplay_H
  7. #include <libraries/ptreplay.h>
  8. #endif
  9.  
  10. Declare Function ADDRESS PTLoadModule(STRPTR module) LIBRARY ptreplay
  11. Declare Function PTUnloadModule(ADDRESS module) LIBRARY ptreplay
  12. Declare Function LONGINT PTPlay(ADDRESS module) LIBRARY ptreplay
  13. Declare Function LONGINT PTStop(ADDRESS module) LIBRARY ptreplay
  14. Declare Function LONGINT PTPause(ADDRESS module) LIBRARY ptreplay
  15. Declare Function LONGINT PTResume(ADDRESS module) LIBRARY ptreplay
  16. /* New in V2 */
  17. Declare Function PTFade(ADDRESS module, SHORTINT speed) LIBRARY ptreplay
  18. /* New in V3 */
  19. Declare Function PTSetVolume(ADDRESS module, SHORTINT volume) LIBRARY ptreplay
  20. /* New in V4 */
  21. Declare Function SHORTINT PTSongPos(ADDRESS module) LIBRARY ptreplay
  22. Declare Function SHORTINT PTSongLen(ADDRESS module) LIBRARY ptreplay
  23. Declare Function SHORTINT PTSongPattern(ADDRESS module, ~
  24.                     SHORTINT position) LIBRARY ptreplay
  25. Declare Function SHORTINT PTPatternPos(ADDRESS module) LIBRARY ptreplay
  26. Declare Function APTR PTPatternData(ADDRESS module, SHORTINT patternNum, ~
  27.                     SHORTINT rowNum) LIBRARY ptreplay
  28. Declare Function PTInstallBits(ADDRESS module, SHORTINT restart, SHORTINT position, ~
  29.                    SHORTINT row, SHORTINT fade) LIBRARY ptreplay
  30. Declare Function ADDRESS PTSetupMod(APTR loadedMod) LIBRARY ptreplay
  31. Declare Function PTFreeMod(ADDRESS module) LIBRARY ptreplay
  32. Declare Function PTStartFade(ADDRESS module, SHORTINT speed) LIBRARY ptreplay
  33. /* New in V5 */
  34. Declare Function PTOnChannel(ADDRESS module, SHORTINT channel) LIBRARY ptreplay
  35. Declare Function PTOffChannel(ADDRESS module, SHORTINT channel) LIBRARY ptreplay
  36. Declare Function PTSetPos(ADDRESS module, SHORTINT position) LIBRARY ptreplay
  37. Declare Function PTSetPri(SHORTINT pri) LIBRARY ptreplay
  38. Declare Function SHORTINT PTGetPri() LIBRARY ptreplay
  39. /* New in V6 */
  40. Declare Function SHORTINT PTGetChan() LIBRARY ptreplay
  41. Declare Function ADDRESS PTGetSample(ADDRESS module, SHORTINT num) LIBRARY ptreplay
  42.  
  43. #endif /* FUNCS_ptreplay_FUNCS_H */
  44.